<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>jt_toolkit: JtTriStripSet Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">jt_toolkit
   &#160;<span id="projectnumber">0.1dev</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_jt_tri_strip_set-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">JtTriStripSet Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A Tri-Strip Set Shape Element, forming triangles, like OpenGL's triangle strip definition.  
 <a href="class_jt_tri_strip_set.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_jt_tri_strip_set_8h_source.html">JtTriStripSet.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for JtTriStripSet:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_jt_tri_strip_set.png" usemap="#JtTriStripSet_map" alt=""/>
  <map id="JtTriStripSet_map" name="JtTriStripSet_map">
<area href="class_jt_shape.html" title="Geometric shape definition data (e.g. vertices, normals, etc)." alt="JtShape" shape="rect" coords="0,56,81,80"/>
<area href="class_jt_entity.html" title="The root class." alt="JtEntity" shape="rect" coords="0,0,81,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad5641b78aaa3964caa56ebecb008e61b"><td class="memItemLeft" align="right" valign="top"><a id="ad5641b78aaa3964caa56ebecb008e61b"></a>
virtual TypeID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_tri_strip_set.html#ad5641b78aaa3964caa56ebecb008e61b">typeID</a> () const</td></tr>
<tr class="memdesc:ad5641b78aaa3964caa56ebecb008e61b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the TypeID for instance. <br /></td></tr>
<tr class="separator:ad5641b78aaa3964caa56ebecb008e61b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6291eb28c64fd97e2252e69f0f0f149b"><td class="memItemLeft" align="right" valign="top"><a id="a6291eb28c64fd97e2252e69f0f0f149b"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_tri_strip_set.html#a6291eb28c64fd97e2252e69f0f0f149b">isOfSubType</a> (TypeID id) const</td></tr>
<tr class="memdesc:a6291eb28c64fd97e2252e69f0f0f149b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if instance belong to the type id. <br /></td></tr>
<tr class="separator:a6291eb28c64fd97e2252e69f0f0f149b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_jt_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_jt_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_jt_shape.html">JtShape</a></td></tr>
<tr class="memitem:a2341587ff56793d9a73ea86ccf1e7be6 inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a2341587ff56793d9a73ea86ccf1e7be6"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_shape.html#a2341587ff56793d9a73ea86ccf1e7be6">addAttrib</a> (std::shared_ptr&lt; <a class="el" href="class_jt_attrib.html">JtAttrib</a> &gt; attrib)=0</td></tr>
<tr class="memdesc:a2341587ff56793d9a73ea86ccf1e7be6 inherit pub_methods_class_jt_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the JtAttribute to this node. <br /></td></tr>
<tr class="separator:a2341587ff56793d9a73ea86ccf1e7be6 inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e565ce00559c8cb3187e0699434078e inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a1e565ce00559c8cb3187e0699434078e"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_shape.html#a1e565ce00559c8cb3187e0699434078e">numAttribs</a> () const =0</td></tr>
<tr class="memdesc:a1e565ce00559c8cb3187e0699434078e inherit pub_methods_class_jt_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of attributes. <br /></td></tr>
<tr class="separator:a1e565ce00559c8cb3187e0699434078e inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26ff8dbfb0585d2d8900238ba2394508 inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a26ff8dbfb0585d2d8900238ba2394508"></a>
virtual std::shared_ptr&lt; <a class="el" href="class_jt_attrib.html">JtAttrib</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_shape.html#a26ff8dbfb0585d2d8900238ba2394508">getAttrib</a> (int index) const =0</td></tr>
<tr class="memdesc:a26ff8dbfb0585d2d8900238ba2394508 inherit pub_methods_class_jt_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the JtAttribute by index. <br /></td></tr>
<tr class="separator:a26ff8dbfb0585d2d8900238ba2394508 inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a727e03740fcf0c240a792b2cbc4ee04c inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a727e03740fcf0c240a792b2cbc4ee04c"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_shape.html#a727e03740fcf0c240a792b2cbc4ee04c">addPrim</a> (const std::vector&lt; float &gt; &amp;vertices, const std::vector&lt; float &gt; &amp;normals)=0</td></tr>
<tr class="memdesc:a727e03740fcf0c240a792b2cbc4ee04c inherit pub_methods_class_jt_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add or get data as Tri-Strip Set. <br /></td></tr>
<tr class="separator:a727e03740fcf0c240a792b2cbc4ee04c inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f58f4398369ac38b280c9ebd7598b32 inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a2f58f4398369ac38b280c9ebd7598b32"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>getInternal</b> (std::vector&lt; float &gt; &amp;vertices, std::vector&lt; float &gt; &amp;normals, int setNum) const =0</td></tr>
<tr class="separator:a2f58f4398369ac38b280c9ebd7598b32 inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a126a709214ee2d24687066a852bd1539 inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a126a709214ee2d24687066a852bd1539"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>numOfSets</b> () const =0</td></tr>
<tr class="separator:a126a709214ee2d24687066a852bd1539 inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af347163c83e966377059f23affcb4643 inherit pub_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_shape.html#af347163c83e966377059f23affcb4643">getTriangles</a> (std::vector&lt; float &gt; &amp;vertices, std::vector&lt; float &gt; &amp;normals, std::vector&lt; int &gt; &amp;indices) const =0</td></tr>
<tr class="memdesc:af347163c83e966377059f23affcb4643 inherit pub_methods_class_jt_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the all triangles for display.  <a href="class_jt_shape.html#af347163c83e966377059f23affcb4643">More...</a><br /></td></tr>
<tr class="separator:af347163c83e966377059f23affcb4643 inherit pub_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_jt_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_jt_entity')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_jt_entity.html">JtEntity</a></td></tr>
<tr class="memitem:add276ccf6dc7b5892522a718068538e2 inherit pub_methods_class_jt_entity"><td class="memItemLeft" align="right" valign="top"><a id="add276ccf6dc7b5892522a718068538e2"></a>
const wchar_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_entity.html#add276ccf6dc7b5892522a718068538e2">typeIDName</a> () const</td></tr>
<tr class="memdesc:add276ccf6dc7b5892522a718068538e2 inherit pub_methods_class_jt_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the typeId name for this instance. <br /></td></tr>
<tr class="separator:add276ccf6dc7b5892522a718068538e2 inherit pub_methods_class_jt_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55b7e0b0615216ee1479139ba300684b inherit pub_methods_class_jt_entity"><td class="memItemLeft" align="right" valign="top"><a id="a55b7e0b0615216ee1479139ba300684b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isOfType</b> (TypeID id) const</td></tr>
<tr class="separator:a55b7e0b0615216ee1479139ba300684b inherit pub_methods_class_jt_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a52dab139f91493e9a666be75e971dc07"><td class="memItemLeft" align="right" valign="top"><a id="a52dab139f91493e9a666be75e971dc07"></a>
static TypeID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_tri_strip_set.html#a52dab139f91493e9a666be75e971dc07">classTypeID</a> ()</td></tr>
<tr class="memdesc:a52dab139f91493e9a666be75e971dc07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the TypeID for class. <br /></td></tr>
<tr class="separator:a52dab139f91493e9a666be75e971dc07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_jt_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_jt_shape')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_jt_shape.html">JtShape</a></td></tr>
<tr class="memitem:a42e0a3ee24b68061f9554a43065a9443 inherit pub_static_methods_class_jt_shape"><td class="memItemLeft" align="right" valign="top"><a id="a42e0a3ee24b68061f9554a43065a9443"></a>
static TypeID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_shape.html#a42e0a3ee24b68061f9554a43065a9443">classTypeID</a> ()</td></tr>
<tr class="memdesc:a42e0a3ee24b68061f9554a43065a9443 inherit pub_static_methods_class_jt_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the TypeID for class. <br /></td></tr>
<tr class="separator:a42e0a3ee24b68061f9554a43065a9443 inherit pub_static_methods_class_jt_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_jt_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_jt_entity')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_jt_entity.html">JtEntity</a></td></tr>
<tr class="memitem:a372bdabb4b109dfadbd94be925dba0ba inherit pub_static_methods_class_jt_entity"><td class="memItemLeft" align="right" valign="top"><a id="a372bdabb4b109dfadbd94be925dba0ba"></a>
static TypeID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_entity.html#a372bdabb4b109dfadbd94be925dba0ba">classTypeID</a> ()</td></tr>
<tr class="memdesc:a372bdabb4b109dfadbd94be925dba0ba inherit pub_static_methods_class_jt_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the TypeID for class. <br /></td></tr>
<tr class="separator:a372bdabb4b109dfadbd94be925dba0ba inherit pub_static_methods_class_jt_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_jt_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_jt_entity')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_jt_entity.html">JtEntity</a></td></tr>
<tr class="memitem:a5db8e5258dfbab12d082b3ca1648e114 inherit pub_types_class_jt_entity"><td class="memItemLeft" align="right" valign="top"><a id="a5db8e5258dfbab12d082b3ca1648e114"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>TypeID</b> { <br />
&#160;&#160;<b>JtkNONE</b>
, <b>JtkENTITY</b>
, <b>JtkHIERARCHY</b>
, <b>JtkUNITHIERARCHY</b>
, <br />
&#160;&#160;<b>JtkASSEMBLY</b>
, <b>JtkPART</b>
, <b>JtkINSTANCE</b>
, <b>JtkATTRIB</b>
, <br />
&#160;&#160;<b>JtkMATERIAL</b>
, <b>JtkTRANSFORM</b>
, <b>JtkSHAPE</b>
, <b>JtkTRISTRIPSET</b>
, <br />
&#160;&#160;<b>JtkCADIMPORTER</b>
, <b>JtkCADEXPORTER</b>
<br />
 }</td></tr>
<tr class="separator:a5db8e5258dfbab12d082b3ca1648e114 inherit pub_types_class_jt_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A Tri-Strip Set Shape Element, forming triangles, like OpenGL's triangle strip definition. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="_jt_tri_strip_set_8h_source.html">JtTriStripSet.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
